package com.itita.ww2.model.user.battle;

import com.smartfoxserver.v2.entities.data.ISFSObject;
import com.itita.ww2.model.user.UserProfile;

public class AggBattleState extends BaseBattleState {
	// private static final Logger logger = LoggerFactory.getLogger(AggBattleState.class);
	// 
	private ISFSObject lastAggBattleLog; // 战报

	public AggBattleState(UserProfile userProfile, ISFSObject lastDeployArmy, ISFSObject lastAggBattleLog) {
		super(userProfile);
		setLastDeployArmy(lastDeployArmy);
		this.lastAggBattleLog = lastAggBattleLog;
		this.battleType = BattleType.AGGRESSION;
	}

	@Override
	public void startBattle() {
		super.startBattle();
	}

	@Override
	public void endBattle(boolean online, boolean victory) {
		super.endBattle(online, victory);
	}

	public ISFSObject getLastAggBattleLog() {
		return lastAggBattleLog;
	}
}
